home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / ARCHIVE / DFILES25.ZIP / DOFILES.DOC < prev    next >
Encoding:
Text File  |  1994-01-17  |  5.7 KB  |  118 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                                        Do Files
  10.           =================================================================
  11.  
  12.                This archive should contain the following files:
  13.  
  14.                DOFILES.EXE............... Actual program
  15.                DOFILES.DOC............... Documentation
  16.                FILE_ID.DIZ............... BBS description files
  17.                READ.ME................... Update information
  18.                HUCKABEY.TXT.............. Current list of James Huckabey
  19.                                           software
  20.                SOFTWARE.TXT...............Information on shareware
  21.                ARCHIVE.TXT............... This list of files
  22.  
  23.                Since I do a lot of file trading I found  I needed something
  24.           to do  archiving automatically for me and  more fancy than just a
  25.           batch file.  I do not like archives that contain a number of like
  26.           files, that is, ROL, MOD, GL, FLI, etc., or even archived under a
  27.           different name  than the contents. I always rearchive files using
  28.           the  same  name as  the  contents:  MUSIC.ROL becomes  MUSIC.ZIP,
  29.           WOW.FLI becomes  WOW.ZIP. I get  in hundreds of files  at a time,
  30.           some times thousands. Hence DOFILES.EXE was developed.
  31.  
  32.                The program  is nothing fancy but  it saves me a  lot of key
  33.           strokes.  It  will work  for any  file  extension except  a blank
  34.           extension. Not sure I am ever going to change this limitation and
  35.           do   not  foresee  myself  archiving  a  lot  of  files  with  no
  36.           extensions.
  37.  
  38.                Starting with v2.5 the program now turns off the "read only"
  39.           archive bit  using DOS' ATTRIB.EXE  program. I did  this because,
  40.           perhaps like  me, some people might be copying files off of a CD-
  41.           ROM disc and archiving  them to send  to others. These files  are
  42.           normally  set to  "read only."  This way  the receiver(s)  of the
  43.           file(s) do  not get "read only" files. This is to save the hassal
  44.           of not being able to delete them, etc.
  45.  
  46.                I have just found out during the testing of v2.5 that if you
  47.           use  the DOS Copy command, at least  with DOS 6.2, that DOS turns
  48.           off the "read  only" attribute during the copy process. I have no
  49.           idea  if DOS  did this  on earlier  versions. Good  ole Microsoft
  50.           should have left the attribute bits alone.  I have always used X-
  51.           Tree  for copying files and it  does nothing with the archive bit
  52.           during the copy process.
  53.  
  54.                DoFiles can process up  to 2000 records at one time. It uses
  55.           PKZIP.EXE  (copyright PKWare) to do it's archiving and it must be
  56.           somewhere in your path. If uses  PKZIP's maximum compression when
  57.           creating the archive using the command line options "-a -ex."
  58.  
  59.                All  you have  to do  is unarchive  files or copy  them from
  60.           other directories or  diskettes, change in to  that directory and
  61.           do the following:
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.                Syntax: DOFILES ext [destination directory]
  70.  
  71.                Where  "ext" is  the file  extension you  are working  with.
  72.           Currently  the program  only  works from  the current  directory,
  73.           which might be changed in a  future release. Just easier to do it
  74.           this way  since it reduces mistakes.  The "destination directory"
  75.           is optional and if not used the archived files are written to the
  76.           current directory.
  77.  
  78.                The  program searches  the  directory for  all "ext"  files,
  79.           sorts the file names and then  as it archives each file it checks
  80.           the destination location for the finished archive. If the archive
  81.           exists then and only then does it erase the original  file in the
  82.           current directory. That way  as it archives a file it then erases
  83.           the unarchived file freeing up hard drive space. Besides that the
  84.           original file  is  not need  if it  is archived.  You can  always
  85.           unarchive the file(s).
  86.  
  87.                DOFILES ROL D:\ROL
  88.  
  89.                This  will  archive  all  the *.ROL  files  in  the  current
  90.           directory  and write them to  D:\ROL deleting each  *.ROL file in
  91.           turn after confirmation of archive.
  92.  
  93.                DOFILES MOD
  94.  
  95.                This will archive all *.MOD files in  the current directory,
  96.           writing them to the current directory, and delete each *.MOD file
  97.           in turn after confirmation of archiving.
  98.  
  99.                As  the  program is  running it  displays the  file (record)
  100.           number it  is working on. When  it is finished with  all files it
  101.           displays the  start and end times  to show you how  long it took.
  102.           The archiving can be lengthy depending on the size and number  of
  103.           files, system and hard drive speeds.
  104.  
  105.  
  106.                                    About the Author
  107.  
  108.                I am  not asking  for any  money  for this  program. If  you
  109.           insist on sending me something for  my time and effort as well as
  110.           encouragement in writing other programs these  contributions will
  111.           not  be refused  and  will be  greatly  appreciated, but  is  not
  112.           necessary.
  113.  
  114.                It  is my  hopes that you  find this program  useful. If you
  115.           have  questions or suggestion please write. If you expect a reply
  116.           please include return postage.
  117.  
  118.                            James Huckabey
  119.                            3621-A Fraser Street
  120.                            Bellingham, WA 98226-2473 U.S.A.
  121.                            (206) 671-2868 (voice, Pacific)
  122.